package com.ruoyi.system.domain.equipment;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 主要设备对象 equipment_basic
 * 
 * @author ruoyi
 * @date 2025-03-17
 */
public class EquipmentBasic extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String equipmentName;

    /** 位号 */
    @Excel(name = "位号")
    private String equipmentCode;

    /** 规格型号 */
    @Excel(name = "规格型号")
    private String equipmentModel;

    /** 安装位置 */
    @Excel(name = "安装位置")
    private String installLocation;

    /** 投用日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "投用日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date onlineDate;

    /** 制造商 */
    @Excel(name = "制造商")
    private String makeFactory;

    /** 出厂编号 */
    @Excel(name = "出厂编号")
    private String makeNo;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createdBy;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdDate;

    /** 更新人 */
    @Excel(name = "更新人")
    private String modifyBy;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date modifyDate;

    /** 删除标志（0未删除） */
    private String delFlag;

    private String ids;
    private Long[] idAry;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getEquipmentName() {
        return equipmentName;
    }

    public void setEquipmentName(String equipmentName) {
        this.equipmentName = equipmentName;
    }

    public String getEquipmentCode() {
        return equipmentCode;
    }

    public void setEquipmentCode(String equipmentCode) {
        this.equipmentCode = equipmentCode;
    }

    public String getEquipmentModel() {
        return equipmentModel;
    }

    public void setEquipmentModel(String equipmentModel) {
        this.equipmentModel = equipmentModel;
    }

    public String getInstallLocation() {
        return installLocation;
    }

    public void setInstallLocation(String installLocation) {
        this.installLocation = installLocation;
    }

    public Date getOnlineDate() {
        return onlineDate;
    }

    public void setOnlineDate(Date onlineDate) {
        this.onlineDate = onlineDate;
    }

    public String getMakeFactory() {
        return makeFactory;
    }

    public void setMakeFactory(String makeFactory) {
        this.makeFactory = makeFactory;
    }

    public String getMakeNo() {
        return makeNo;
    }

    public void setMakeNo(String makeNo) {
        this.makeNo = makeNo;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedDate() {
        return createdDate;
    }

    public void setCreatedDate(Date createdDate) {
        this.createdDate = createdDate;
    }

    public String getModifyBy() {
        return modifyBy;
    }

    public void setModifyBy(String modifyBy) {
        this.modifyBy = modifyBy;
    }

    public Date getModifyDate() {
        return modifyDate;
    }

    public void setModifyDate(Date modifyDate) {
        this.modifyDate = modifyDate;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getIds() {
        return ids;
    }

    public void setIds(String ids) {
        this.ids = ids;
    }

    public Long[] getIdAry() {
        return idAry;
    }

    public void setIdAry(Long[] idAry) {
        this.idAry = idAry;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("equipmentName", getEquipmentName())
            .append("equipmentCode", getEquipmentCode())
            .append("equipmentModel", getEquipmentModel())
            .append("installLocation", getInstallLocation())
            .append("onlineDate", getOnlineDate())
            .append("makeFactory", getMakeFactory())
            .append("makeNo", getMakeNo())
            .append("remark", getRemark())
            .append("createdBy", getCreatedBy())
            .append("createdDate", getCreatedDate())
            .append("modifyBy", getModifyBy())
            .append("modifyDate", getModifyDate())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
